package com.ultron.app.entity.test;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 标题：财务通道(Excel业务对象)
 * 说明：财务通道(Excel业务对象)，作为基础新增、修改操作的入参
 * 时间：2024-4-24
 * 作者：admin
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
@Accessors(chain = false)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("财务Q&A自动化测试(Excel业务对象)")
public class FinanceQAAutoTestBO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号")
    @ExcelProperty("序号")
    private Integer xh;
    @ExcelProperty("问题")
    private String q;

    @ExcelProperty("AI生成答案")
    private String a;


    @ExcelProperty("推理过程")
    private String think;

    @ExcelProperty("测试人")
    private String people;

    @ExcelProperty("备注")
    private String remark;

    /**
     * 改造Excel模版
     * @return
     */
    public FinanceQAAutoTestBO buildExportModule(){
        this.xh = 1;
        this.q = "问题";
        this.a = "AI生成答案";
        this.think = "推理过程";
        this.people = "测试人";
        return this;
    }

}